<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<fmt:setLocale value="${language}"/>
<fmt:bundle basename="messages" prefix="success.">
<html>
<head>
    <title><fmt:message key="title"/></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/static/bootstrap/css/bootstrap.css">
    <link href="${pageContext.request.contextPath}/css/success.css" rel="stylesheet">
    <link rel="shortcut icon" href="${pageContext.servletContext.contextPath}/static/yin.ico">
    <script type="text/javascript"
            src="${pageContext.servletContext.contextPath}/static/bootstrap/js/bootstrap.min.js"></script>
    <style id="holderjs-style" type="text/css">

    </style>
</head>

<body>

<div class="site-wrapper">
    <div class="site-wrapper-inner">
        <div class="cover-container">
            <div class="inner cover">
                <h3 class="cover-heading"><fmt:message key="mes"/></h3>
                <p class="lead">
                    <c:if test="${not empty user and user.role == 'ADMIN'}">
                    <a href="/maa/do?action=admin-cabinet" class="btn btn-lg btn-default"><fmt:message key="return"/></a>
                    </c:if>
                    <c:if test="${not empty user and user.role == 'MENTOR'}">
                        <a href="/maa/do?action=account" class="btn btn-lg btn-default"><fmt:message key="return"/></a>
                    </c:if>
                    <c:if test="${not empty user and user.role == 'CLIENT'}">
                        <a href="/maa/do?action=account" class="btn btn-lg btn-default"><fmt:message key="return"/></a>
                    </c:if>
                </p>
            </div>
        </div>
    </div>
</div>

<script src="./Cover Template for Bootstrap_files/jquery.min.js"></script>
<script src="./Cover Template for Bootstrap_files/bootstrap.min.js"></script>
<script src="./Cover Template for Bootstrap_files/docs.min.js"></script>

</body>
</html>
</fmt:bundle>